#ifndef __COMMON_TYPES_H_
#define __COMMON_TYPES_H_

class AA {
public:
  AA(int _i) : i(_i) {
  }
  AA(int _i, float _f) : i(_i), f(_f) {
  }
  AA() : i(1), f(1.0f) {
  }
  ~AA() {
  }
  void Increase(int times) {
    for (int j = 0; j < times; ++j) {
      ++i;
    }
  }
  int GetI() const {
    return i;
  }
  float GetF() const {
    return f;
  }
  void SetI(int _i) {
    i = _i;
  }
  void SetF(float _f) {
    f = _f;
  }

private:
  int i = 1;
  float f = 1.0f;
};

#endif
